<?php
$object = new zhg();

$action_ary = array(
	'freshCoord' => 'freshCoord_coord', 	
);


function freshCoord_coord(){
	global $object;
	
	$rtn['info']=false;	
	$pid=request('pid',false,true);	
	if(!$pid){
		exit(json_encode($rtn));
		return;
	}
	
	$list=$object->total($pid);
	if(empty($list)){
		exit(json_encode($rtn));
		return;		
	}
	
    $rtn['info']=$list;
    $rtn['time']=date('Y-m-d H:i');
    $rtn['num']=count($list);
    exit(json_encode($rtn));
}